//
//  EFGoodsDetailViewItemPrice.m
//  EnjogFood
//
//  Created by guocheng on 2017/5/21.
//  Copyright © 2017年 wf. All rights reserved.
//

#import "EFGoodsDetailViewItemPrice.h"
#import "EFGoodsDetailViewCellPrice.h"

@implementation EFGoodsDetailViewItemPrice


- (instancetype)init
{
    self = [super init];
    if (self) {
        self.viewClass = [EFGoodsDetailViewCellPrice class];
        self.viewHeight = 45;
    }
    return self;
}

-(instancetype)initWithPrice:(NSString *)price salePrice:(NSString *)salePrice sold:(NSString *)sold{
    
    self = [self init];
    if(self){
        self.price = price;
        self.salePrice = salePrice;
        self.sold = sold;
    }
    return self;
}

@end
